//
//  CaptureViewController.h
//  SBVideoCaptureDemo
//
//  Created by Pandara on 14-8-12.
//  Copyright (c) 2014年 Pandara. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "SBCaptureDefine.h"
#import "SBVideoRecorder.h"
#import "PlayViewController.h"

@protocol VideoRecordDelegate <NSObject>

@optional

//recorder完成视频的合成
- (void)didFinish:(NSURL *)outputFileURL ;
- (void)didCancel;
@end

@interface CaptureViewController : UIViewController <SBVideoRecorderDelegate, UIAlertViewDelegate, PlayViewDelegate>

@property (weak, nonatomic) id <VideoRecordDelegate> recorderDelegate;

@property float min_video_dur; // 最新时间

@property float max_video_dur; // 最大时间

@end
